﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Configuration;
namespace Selection4
{

    class Constant
    {
        public const string KEY = "key";
        public const string PROD = "prod";
        public const string DEV = "dev";
        public const string DESC = "desc";
    }

    public class ShiSettingElements : ConfigurationElement
    {


        [ConfigurationProperty(Constant.KEY)]
        public string Key
        {
            get
            {
                return (string)this[Constant.KEY];
            }
            set
            {
                this[Constant.KEY] = value;
            }
        }

        [ConfigurationProperty(Constant.PROD)]
        public string Prod
        {
            get
            {
                return (string)this[Constant.PROD];
            }
            set
            {
                this[Constant.PROD] = value;
            }
        }

        [ConfigurationProperty(Constant.DEV)]
        public string Dev
        {
            get
            {
                return (string)this[Constant.DEV];
            }
            set
            {
                this[Constant.DEV] = value;
            }
        }

        [ConfigurationProperty(Constant.DESC)]
        public string Desc
        {
            get
            {
                return (string)this[Constant.DESC];
            }
            set
            {
                this[Constant.DESC] = value;
            }
        }
    }
}
